package com.lrkj.back.service;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.ZsEquipCeshi;
import com.github.pagehelper.PageInfo;

import cn.com.cbons.mamisay.parent.exception.DBException;
import cn.com.cbons.mamisay.parent.service.api.ParentService;

public interface ZsEquipCeshiService extends ParentService<ZsEquipCeshi>{

	ZsEquipCeshi insert(ZsEquipCeshi zsEquipCeshi)throws DBException;

	PageInfo<ZsEquipCeshi> findByDateAndHegeAndState(Map<String, Object> map)throws DBException;
	
	void updateEndtimeAndState(Map<String, Object> map)throws DBException;
	
	List<ZsEquipCeshi> findByDateHegeState(Map<String, Object> map) throws DBException;
	
	int updateCeshi(Map<String, Object> map) throws DBException;
	
	ZsEquipCeshi findOne(Map<String, Object> map) throws DBException;
}
